package com.personal.gateway.flinkAllCommand.configurationOption.configurationType;

import com.personal.gateway.flinkAllCommand.configurationOption.ConfigurationOption;

/**
 * @author BigHead
 * @date 2022/1/10 16:24
 * @description ConfigurationTypeInteger
 */
public class ConfigurationTypeInteger extends AbstractConfigurationType<Integer> {
    public ConfigurationTypeInteger() {
        super(Integer.class);
    }

    @Override
    public String getTypeString() {
        return "Integer";
    }

    @Override
    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public void setExampleValue(Integer... exampleValue) {
        this.exampleValue = exampleValue;
    }

    @Override
    public Integer[] getExampleValue(ConfigurationOption<?, ?> configurationOption) {
        return new Integer[0];
    }
}
